﻿@model trangbaocao.Models.Paramenter_Using_Bts
<div class="container_12">       
    <div class="grid_12">            
        <div class="module">
                <h2 align="right"><span><a href="@Url.Action("Parameter_Using_Bts", "Manage_Bts", new { device_stations_id = ViewBag.device_stations_id })">Quay lại</a></span></h2>                       
                <div class="module-body">
                @using (Html.BeginForm("Edit_Parameter_Using", "Manage_Bts", FormMethod.Post))
                {                      
                    <div align="center"><h3>SỬA THÔNG TIN THUỘC TÍNH SỬ DỤNG THIẾT BỊ<br /><p style="color: #660099; font-size:14px; margin-top:5px;"> @ViewBag.NameDeviceStation</p></h3>
                        <div class="img-device-station-add" align="center"> 
                            <img src="@Url.Content("~/Content/Body/Images/Body_Images/Add_Device.png")" width="10%" />
                        </div>
                        
                    </div>
                    if (TempData["msg"] != null)
                    {                            
                        <span class="notification n-error">@TempData["msg"]</span>
                    }  
                    <p style="width:25%; float:left"></p> 
          <table> 

                    <div style="width:50%; text-align:center; float:left; margin-bottom:5px">
                    <p align="center">
                    <label style="width:60%; text-align:left">Thuộc tính thiết bị </label>
                        <div class="ma_he_thong" align="center" style="padding-left:0px; width: 100%">
                           @if (ViewBag.Parabase != null)
                        {  
                             
                            @Html.DropDownList("paramenter_base_id", ViewBag.Parabase as SelectList, "---Chọn tham số---")    
                            
                        }
                            <font color="red">(*)</font> 
                              <label style="width:60%; text-align:left;">
                                @Html.ValidationMessageFor(model => model.paramenter_base_id)
                            </label>                            
                        </div>                                                                     
                    </p>
                    <p align="center">
                        <label style="width:60%; text-align:left;">Giá trị sử dụng</label>
                        <div class="ma_he_thong" align="center" style="padding-left: 0px; width: 100%">
                           
                            @Html.TextBoxFor(model => model.value_using, new { @name = "value_using", @class = "input-medium" })  
                            <font color="red">(*)</font>  
                             <label style="width:60%; text-align:left;">
                                @Html.ValidationMessageFor(model => model.value_using)
                            </label>                     
                        </div>                                                                     
                    </p>
                    <p align="center">
                        <label style="width:60%; text-align:left;">Mô tả</label>
                        <div class="ma_he_thong" align="center" style="margin-left:-10px; width: 100%">
                            @Html.TextBoxFor(model => model.notes, new { @name = "notes", @class = "input-medium" })                             
                        </div>                                                                     
                    </p>  
          </table>
                    @Html.HiddenFor(model => model.paramenter_using_id)
                    @Html.HiddenFor(model => model.device_id)
                    @Html.HiddenFor(model => model.main_sort_device_id)
                    @Html.HiddenFor(model => model.sort_device_id)
                    @Html.HiddenFor(model => model.manufactorys_id)
                    @Html.HiddenFor(model => model.device_stations_id)
                    @Html.HiddenFor(model => model.paramenter_base_id)
                    
                    <input type="hidden" name ="device_stations_id" value="@(ViewBag.device_stations_id)" />
                    <div class="button" align="center">
                        <p style="width:26%; text-align:center">
                        <input class="submit-green" type="submit" value="Sửa"/> 
                         <input class="submit-gray" type="reset" value="Reset" />
                        </p>
                    </div>       
                }
              </div> <!-- End .module-body -->      
                
        </div>  <!-- End .module -->
        <div style="clear:both;"></div>
    </div> <!-- End .grid_12 --> 
    <div style="clear:both;"></div>
</div> <!-- End .container_12 -->